<script setup lang="ts">
import router from '@/router';

// 路由跳转
const goToClinic = () => {
    router.push('/smartClinic?department=3')
}
</script>

<template>
    <div class="smart">
        <div class="smart-title">智慧门诊</div>
        <div class="smart-text">智慧门诊启新程，健康服务伴您行</div>
        <div class="smart-img">
            <div class="smart-img-title">智慧门诊</div>
            <div class="smart-img-subhead">科室 | 挂号 | 预约医生 | 抽血体检 | 手术状态 | 体检导检 | 预防接种</div>
            <div class="smart-img-content">
                智慧门诊导引排队全流程，以病人为中心的服务理念，以服务质量和效率为目标，以减少病人在门诊的排队时间、院内往返时间和流程中间环节为突破口。解决排队效率，减少往复，疏导指引，等候时舒缓情绪等问题。
            </div>
            <button class="smart-img-btn" @click="goToClinic">了解详情 ></button>
        </div>
    </div>
</template>

<style scoped lang="scss">
.smart {
    display: flex;
    flex-direction: column;

    .smart-title {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2vw;
        margin-top: 4vw;
    }

    .smart-text {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9vw;
        margin: 1vw 0 2vw;
    }

    .smart-img {
        display: flex;
        flex-direction: column;
        width: 82vw;
        height: 90vh;
        margin: auto;
        background: url('@/images/smart_healthcate/clinic.jpg') no-repeat;
        background-size: 100% 100%;
        padding: 12vw 5vw 5vw 43vw;

        .smart-img-title {
            font-size: 2.1vw;
        }

        .smart-img-subhead {
            font-size: 1.5vw;
            margin: 2vw 0;
        }

        .smart-img-content {
            font-size: 0.8vw;
            line-height: 1.3vw;
        }

        .smart-img-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 6.2vw;
            height: 2vw;
            background-color: transparent;
            border-radius: 2vw;
            font-size: 0.7vw;
            letter-spacing: 0.1vw;
            margin: 4vw 0;
            cursor: pointer;
            border: 0.1vw solid #000;
        }
    }
}
</style>